package cn.com.demo.dao;


import cn.com.demo.pojo.User;

import java.util.HashMap;
import java.util.List;

public interface UserMapper {
	public List<User> getUser();
	public User getByUserCode(String userCode);
	public List<User> getUserList(HashMap<String, Object> map);
	public int getUserCount(HashMap<String, Object> map);
	public int add(User user);
	public int addUser(User user);
	public int deleteUserById(Integer id);
}
